package com.zr.lads.service;

import com.zr.lads.pojo.Line;

import net.sf.json.JSONObject;
/**
 * 
 * @author Administrator
 *
 */

public interface LineService {
	/**
	 * 
	 * @param lineId
	 * @param searchname
	 * @param page
	 * @param rows
	 * @return
	 */
public JSONObject findlines(int page,int rows);
/**
 * 
 * @param l
 * @return
 */
public boolean addlines(Line l);

/**
 * 
 * @param lineId
 * @param lineName
 * @param beginPoint
 * @param endPoint
 * @return
 */
public boolean  updatelines(int lineId,String lineName,String beginPoint,String endPoint);
/**
 * 
 * @param lines
 * @return
 */
public boolean  deletelines(String lineIds);
}
